package com.java1412.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author java1412
 * @create 2021-05-20 14:27
 * @description db2数据源配置类
 */
@ConfigurationProperties(prefix = "spring.datasource.ds2")
@Component("ds2Properties")
@Data
public class Ds2Properties {
    private String url;
    private String username;
    private String password;
    private String driverClassName;
}